﻿using Basic.Base.Serialization;

namespace Basic.EventBus.Eventbus;

public interface ISubscriberHandler
{
    ISerializer Serializer { get; }

    public CancellationTokenSource TokenSource { get; }

    Task<bool> HandleMessage(byte[] message);

}